package org.jeecg.modules.solitaire_app.app.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.solitaire_app.app.entity.VO.OilDatasVO;
import org.jeecg.modules.solitaire_app.app.entity.YsyOilRawMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.solitaire_app.app.entity.YsyOilRawMaterialPrice;

/**
 * @Description: 油原料
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
public interface YsyOilRawMaterialMapper extends BaseMapper<YsyOilRawMaterial> {

    List<OilDatasVO> getOilDatasVOs(Map<String,Object> map);

    OilDatasVO getOilNewData(Map<String,Object> map);

    YsyOilRawMaterialPrice getOneOilPrice(@Param("oilId") int oilId,@Param("refineryId") int refineryId);

    YsyOilRawMaterialPrice getOneOilPriceByRefId(int refineryId);
}
